package cn.itsource.ymcc.feign;

import cn.itsource.result.JSONResult;
import cn.itsource.ymcc.domain.Login;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "service-uaa")
public interface UaaFeignClient {

    @RequestMapping(value = "/login/save", method = RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody Login login);

}
